package fz;

public class TextStudent {
    public static void main(String[] args) {
        //创建对象
        Student s = new Student();
        s.name = "tom";
        s.setAge(100);
        int myAge = s.getAge();
        System.out.println("myAge = " + myAge);
        s.show();

    }
}